package com.hyperfix.washer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyperfix.models.common.R;
import com.hyperfix.models.washer.pojos.Station;
import com.hyperfix.models.washer.pojos.Team;
import com.hyperfix.models.washer.vos.TeamVO;

import java.util.List;

/**
 * @author JiangChunYu
 * 2024/4/21
 */
public interface TeamService extends IService<Team> {
    R<IPage<Team>> list(Integer pageNum, Integer size);

    R<String> updateTeam(TeamVO teamVO);

    R<List<Station>> listStation(Integer teamId);
}
